package com.itgy.project.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.itgy.project.model.entity.UserInterfaceInfo;
import org.apache.dubbo.config.annotation.DubboService;

/**
* @author 仪
* @description 针对表【user_interface_info(用户调用接口关系表)】的数据库操作Service
* @createDate 2023-03-12 15:22:59
*/

public interface UserInterfaceInfoService extends IService<UserInterfaceInfo> {

    void validUserInterfaceInfo(UserInterfaceInfo userInterfaceInfo, boolean b);

    /**
     * 调用接口的统计
     * @param interfaceInfoId
     * @param userId
     * @return
     */
    boolean invokeCount(long interfaceInfoId , long userId);
}
